import { Route } from 'react-keeper'
import PageTender from './subpages/tender';
import PageAchievements from './subpages/achievements';
import PageWorkplan from './subpages/workplan';
import PagePaymanage from './subpages/paymanage';
import PageMaintain from './subpages/maintain';
import PageSchedule from './subpages/schedule';
const PageHome = {
    page: require('./PageHome'),
    route: () => {
        return (<div>
            <Route  path='/home' component={Home} />   
        </div>)
    }

}
const Home = () => {
    return (
        <div>
            <Route index component={PageHome.page} ></Route>
            <PageTender.route />
            <PageWorkplan.route />
            <PageAchievements.route />
            <PagePaymanage.route />
            <PageMaintain.route />
            <PageSchedule.route />
        </div>)
}
export default PageHome;
